package com.aidong.home.dao;

import com.aidong.home.entity.ActivityHome;
import com.aidong.home.entity.CourseType;
import com.aidong.home.entity.Home;
import com.aidong.home.entity.Video;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by john on 17-4-21.
 */
public interface HomeDao {
    List<Home> homeBanner(@Param("cityId") int cityId);

    List<ActivityHome> recommendActivity(@Param("cityId") int cityId);

    List<CourseType> courseType(@Param("cityId") int cityId);

    List<Integer> videoSeries(@Param("cityId") int cityId, @Param("code") int courseType);

    List<Video> videoList(@Param("series") List<Integer> series, @Param("offset") int offset, @Param("limit") int limit);
}
